From: Luca BRUNO Date: Sun, 23 Oct 2016 13:36:45 +0000 (+0100) Subject: Workaround for test failure on old sparc kernels X-Git-Tag: archive/raspbian/1.44.2-1+rpi1~1^2^2^2^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=96f0bae0ab8096adc867cc588d69320f2687e1e6;p=libuv1.git Workaround for test failure on old sparc kernels Forwarded: not-needed Gbp-Pq: Name sparc-skip-tcp_oob.diff --- diff --git a/test/test-tcp-oob.c b/test/test-tcp-oob.c index fc011ee..7d14400 100644 --- a/test/test-tcp-oob.c +++ b/test/test-tcp-oob.c @@ -101,6 +101,12 @@ TEST_IMPL(tcp_oob) { struct sockaddr_in addr; uv_loop_t* loop; +#if defined(__sparc__) && defined(__linux__) + fprintf(stderr, "Skipping test on Linux-sparc due to instability.\n"); + fflush(stderr); + return TEST_SKIP; +#endif + ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); loop = uv_default_loop();